Skip to content

Remove Ethernet library dependency #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from Sep 14, 2017
Merged

Remove Ethernet library dependency #101

merged 1 commit into from Sep 14, 2017

Conversation

ghost
Copy link

@ghost ghost commented Sep 6, 2017

The Ethernet library is no more linked to the core.
See STM32Ethernet PR.

@ghost ghost requested a review from fpistm September 6, 2017 13:25
@fpistm fpistm added the enhancement New feature or request label Sep 6, 2017
@fpistm fpistm requested a review from LMESTM September 12, 2017 12:13
Copy link
Member

@LMESTM LMESTM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good I think . Only one comment on naming to be more precise.

  • 1 question : where will you register the stm32_eth_scheduler ? Do you have the corresponding commit ?

@@ -37,8 +37,7 @@
#ifdef USBCON
#include "usb_interface.h"
#endif //USBCON

#include "ethernet.h"
#include "callback.h"
Copy link
Member

@LMESTM LMESTM Sep 12, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use variant name to be more precise

Update after discussion with Fred, we think a suitable name could be
coreCallback.h
with
registerCoreCallback( xx )
unregisterCoreCallback( xx )
and the call from the core will be
coreCallbacks();
?

@ghost
Copy link
Author

ghost commented Sep 12, 2017

I attach the stm32_eth_scheduler() inside the STM32Ethernet library. See here

@fpistm
Copy link
Member

fpistm commented Sep 12, 2017

Wait renaming and rebasing.

*/
}
#ifndef CALLBACK_LIST_SIZE
#define CALLBACK_LIST_SIZE 8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please decrease to 4 it should be enough then I will merge

@ghost ghost requested a review from fpistm September 14, 2017 07:56
@fpistm fpistm merged commit 719d04c into stm32duino:master Sep 14, 2017
@ghost ghost deleted the remove_ethernet_dependency branch September 19, 2017 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants